using System;

namespace Sustainalytics.ESGRatings.Computing.Entities.ESG
{
    public class WeightMatrix
    {
        public WeightMatrix()
        {
        }

        public WeightMatrix(Guid? accountId, Guid matrixId, CompanyWeights[] companiesWeights)
        {
            this.AccountId = accountId;
            this.CompaniesWeights = companiesWeights;
            this.MatrixId = matrixId;
        }

        public WeightMatrix(Guid? accountId,  Guid matrixId, CompanyWeights companyWeights)
        {
            this.AccountId = accountId;
            this.CompaniesWeights = new[] { companyWeights };
            this.MatrixId = matrixId;
        }

        public Guid? AccountId { get; set; }

        public CompanyWeights[] CompaniesWeights { get; set; }

        public Guid MatrixId { get; set; }
    }
}